/* popup.scss */
@charset "UTF-8";
@import "common/var";
@import "mixins/mixins";

@include b(popup) {
    &-container {
        position: absolute;
        text-align: center;
        color: white;
    }

    &-content-header {
        height: 30px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0px 12px;
        background: url("~szkstool/assets/section_icon.png") no-repeat 0 0/40% 100%;

        &-title {
            font-size: 16px;
            font-weight: bold;
        }

        &-extra {
            display: flex;
        }
    }

    &-close-button {
        float: right;
        position: absolute;
        top: 2px;
        right: 6px;
        width: 16px;
        height: 16px;
    }

    &-separate-button {
        float: right;
        position: relative;
        right: 0px;
        width: 16px;
        height: 16px;
    }

    &-close-button {
        position: absolute;
        top: 0;
        right: 10px;
        padding: 14px 10px 0 0;
        text-align: center;
        width: 18px;
        height: 14px;
        font: 16px/14px Tahoma, Verdana, sans-serif;
        color: #c3c3c3;
        text-decoration: none;
        font-weight: bold;
        background: transparent;
    }

    &-content-header-title {
        padding-left: 6%;
        font-size: 18px;
        display: flex;
        align-items: center;
    }

    &-content-wrapper {
        width: auto;
        max-height: 500px;
        max-width: 500px;
        overflow-y: hidden;
        background: rgba(0, 21, 41, 0.5);
        box-shadow: 0 3px 14px #bbb;
        padding: 12px;
        text-align: left;
        border-radius: 12px;
    }

    &-close-content-wrapper {
        width: auto;
        max-height: 500px;
        max-width: 500px;
        overflow-y: hidden;
        display: flex;
        flex-direction: column;
        color: #fff;
        background: linear-gradient(
        0deg,
        rgba($color: $--color-linearEnd, $alpha: 0.6),
        rgba($color: $--color-linearEnd, $alpha: 0.9)
        );
        border: 2px solid rgba($color: $--color-info, $alpha: 0.5);
        padding: 10px;
        text-align: left;
        border-radius: 12px;
    }

    &-content {
        margin: 13px 19px;
        line-height: 1.4;
    }

    &-tip-container {
        margin: 0 auto;
        width: 40px;
        height: 20px;
        position: relative;
        overflow: hidden;
    }

    &-tip {
        background: rgba(0, 21, 41, 0.5);
        box-shadow: 0 3px 14px #bbb;
        width: 17px;
        height: 17px;
        padding: 1px;
        margin: -10px auto 0;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}